package service.configuration.xstream;

import java.util.List;
import service.configuration.ILinkAssociationConfig;
import service.configuration.ILinkAssociationUpConfig;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;


@XStreamAlias("link")
public class LinkAssociationConfig implements ILinkAssociationConfig {

	@XStreamAsAttribute()
	String from;
	
	@XStreamImplicit
	List<ILinkAssociationUpConfig> up;

	@Override
	public String getFrom() {
		return from;
	}
	
	@Override
	public List<ILinkAssociationUpConfig> getUp() {
		return up;
	}

}
